package com.example.springbootdemo.mylist;

/**
 * @author cici
 */
public class MyNode<E> {

    public E item;
    public MyNode<E> next;
    public MyNode<E> prev;

    public MyNode(MyNode<E> prev, E element, MyNode<E> next) {
        this.item = element;
        this.next = next;
        this.prev = prev;
    }


}
